<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <script src="./javascripts/socket.io.js"></script>
    <script src="./javascripts/jquery.js"></script>
    <script>

        var socket = io.connect('http://58.213.102.68:7999');
        socket.on('real_locations_1', function (data) {
            console.log(data);
            $("#location_1").html(data);
        });
        socket.on('real_locations_2', function (data) {
            console.log(data);
            $("#location_2").html(data);
        });

    </script>
    <title>定位终端测试</title>
</head>
<body>
    <div id="location_1" style="font-size:30px">李大晨测试</div>
    <div id="location_2" style="font-size:30px">高照峰测试</div>
</body>
</html>